package com.yld.car.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Transformation;
import android.widget.Gallery;

public class PicGallery extends Gallery {
	public PicGallery(Context paramContext, AttributeSet paramAttributeSet) {
		super(paramContext, paramAttributeSet);
	}

	protected boolean getChildStaticTransformation(View paramView,
			Transformation paramTransformation) {
		return true;
	}

	public boolean onFling(MotionEvent paramMotionEvent1,
			MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2) {
		return false;
	}

	public boolean onScroll(MotionEvent paramMotionEvent1,
			MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2) {
		
		return super.onScroll(paramMotionEvent1, paramMotionEvent2,
				1.4F * paramFloat1, paramFloat2);
	}
}
